package com.zretc.kscxmz.mappers;

import com.zretc.kscxmz.entity.MailReceive;

import java.util.List;

/**
 * @author zengyanjun
 * @date 2020-07-25
 *
 */
public interface MailReceiveMapper {
    /**
     * 查找每个邮箱在用户表中所对应的用户
     * @param mailAccount
     * @return
     */
    int findReceiverIdByMailAccount(String mailAccount);

    /**
     * 批量插入
     * @param list
     * @return
     */
    int insertReceive(List<MailReceive> list);
}
